import Home from '../page/Home'
import Index from '../page/Index/index'
import My from '../page/My'
import Search from '../page/Search'

const routes = [{
  title: '首页',
  path: '/index',
  component: Index
},{
  path: '/home',
  title: '书架',
  component: Home
},{
  path: '/search',
  title: '搜索',

  component: Search
},{
  path: '/my',
  title: '我的',

  component: My
},{
  from: '/',
  to: '/home'
}]

export default routes